package com.guigu.qxl.mapper;

import com.guigu.pojo.SysRoles;
import com.guigu.pojo.SysUsers;

import java.util.List;

public interface SysRolesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysRoles record);

    int insertSelective(SysRoles record);

    SysRoles selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysRoles record);

    int updateByPrimaryKey(SysRoles record);

    List<SysRoles> showRoleByUsers(SysUsers sysUsers);
}